package com.hntech.rpc.client;

import com.hntech.rpc.api.IUserService;

/**
 * @Autho changqi.wu
 * @Date 路在脚下，使劲踩！
 */
public class Test {

    public static void main(String[] args) {


        RpcProxyClient rpcProxyClient = new RpcProxyClient();
        IUserService userService = rpcProxyClient.clientProxy(IUserService.class,"127.0.0.1",7777);
        System.out.println(userService.queryUser(1L));


    }

}
